package com.billing.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.billing.model.entity.TLatedeductions;

public interface LatedeductionsService {

	/**
	 * 获取迟到规则信息
	 * @return
	 */
	public List<TLatedeductions> getTLatedeductionsList(int organizationid);
	/**
	 * 修改迟到规则信息
	 * @param late
	 * @return
	 */
	public int updateTLatedeductions(TLatedeductions late);
	/**
	 * 批量新增迟到规则信息
	 * @param list
	 * @return
	 */
	public int insertTLatedeductionsList(List<TLatedeductions> list);
	/**
	 * 删除迟到规则信息
	 * @param late
	 * @return
	 */
	public int deleteTLatedeductions(int[] ids);
	
	/**
	 * 获取迟到规则中最大ID信息
	 * @return
	 */
	public int getTLatedeductionsMaximumId();
	/**
	 * 删除迟到规则信息
	 * @param late
	 * @return
	 */
	public int deleteTLatedeductionss(int type,int calculationtype);
	
	public List<TLatedeductions> getTLEarlyretreatList(int organizationid);
	
	public int deleteEarlyretreat(int type,int calculationtype);
}
